package org.example.AI;

/**
 * @author: 默苍璃
 * @date: 2024-07-18 16:45
 */
public class ConnectedState implements State {
    @Override
    public String init() {
        return "Bot is now connected and ready to chat.";
    }

    @Override
    public String reply(String input) {
        return "Connected bot received: " + input;
    }

    @Override
    public void enter(BotContext context) {
        // 进入连接状态时的逻辑
    }

    @Override
    public void exit(BotContext context) {
        // 退出连接状态时的逻辑
    }
}